home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Archive Magazine CD 1995
/
Archive Magazine CD 1995.iso
/
discs
/
shareware
/
share_40
/
evaluate
/
!Evaluate
/
UserFuncs
< prev
Wrap
Text File
|
1990-04-17
|
2KB
|
50 lines
Description of the various user-defined functions for !Evaluate.
If you add any functions to the function-library called 'Functions', please
describe the function, ie. its calling convention, parameters, result,... in
this text-file, so that other users of !Evaluate may benefit from your ideas!
Please try to make your function-description conform with that of the first
seven descriptions...
-----------------------------------------------------------------------------
Descriptions of the User-defined Functions:
*******************************************
MAX : Parameters : two reals x,y
Returns : real, being the maximum of x and y
Syntax : MAX(x,y)
Example : MAX(4.02,10) = 10
MIN : Parameters : two real x,y
Returns : real, being the minimum of x and y
Syntax : MIN(x,y)
Example : MIN(-9.3,MAX(4.02,10)) = -9.3
FAC : Parameters : one integer x
Returns : integer, being the factorial of x
Syntax : FAC(x)
Example : FAC(5) = 120
SEC : Parameters : one real x
Returns : real, being the secans (1/COS) of x
Syntax : SEC(x)
Example : SEC(FAC(4)) = 2.357495262
COSEC : Parameters : one real x
Returns : real, being the cosecans (1/SIN) of x
Syntax : COSEC(x)
Example : COSEC(12) = -1.863679599
MANDEL : Parameters : two reals x and y (components of x+yi)
Returns : real, being the potential -relative to the
Mandelbrot Set- of the point x+yi
Syntax : MANDEL(x,y)
Example : MANDEL(-1.4,.3) = 0.01159676471
ITERATE : Parameters : a string f$, a real x and an integer m
Returns : real, being the result of the function f$ iterated
m times, with initial value x
Syntax : ITERATE(f$,x,m)
Example : ITERATE("COS",123,100) = 0.7390851332